package com.competition.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "agricultural_training_order_detail")
public class AgriculturalTrainingOrderDetail {

    @Id
    @Column(name = "agricultural_training_order_id", nullable = false)
    private String agriculturalTrainingOrderId; // 培训项目订单id

    @Column(name = "user_name")
    private String userName; // 用户名

    @Column(name = "user_phone")
    private String userPhone; // 用户手机号

    @Column(name = "agricultural_training_title")
    private String agriculturalTrainingTitle; // 培训名

    @Column(name = "agricultural_training_price")
    private String agriculturalTrainingPrice; // 价格

    @Column(name = "agricultural_training_address")
    private String agriculturalTrainingAddress; // 地址


    // 根据需要，还可以添加其他业务逻辑方法
}
